package com.time.company.servermodel.compose;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Bing on 2017/11/15.
 * E-mail is tx16bing@163.com
 */

public class ApplyInfo {

    /**
     * timeServiceAsset : 累积时间
     * timeCoinAsset : 可用时间币
     */

    @SerializedName("timeAssert")
    private ServiceTime serviceTime;

    @SerializedName("serviceTypeList")
    private List<ServiceType> serviceTypes;

    public ServiceTime getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(ServiceTime serviceTime) {
        this.serviceTime = serviceTime;
    }

    public List<ServiceType> getServiceTypes() {
        return serviceTypes;
    }

    public void setServiceTypes(List<ServiceType> serviceTypes) {
        this.serviceTypes = serviceTypes;
    }

    public static class ServiceTime {

        @SerializedName("timeServiceAsset")
        private String timeServiceAsset;
        @SerializedName("timeCoinAsset")
        private String timeCoinAsset;

        public String getTimeServiceAsset() {
            return timeServiceAsset;
        }

        public void setTimeServiceAsset(String timeServiceAsset) {
            this.timeServiceAsset = timeServiceAsset;
        }

        public String getTimeCoinAsset() {
            return timeCoinAsset;
        }

        public void setTimeCoinAsset(String timeCoinAsset) {
            this.timeCoinAsset = timeCoinAsset;
        }
    }

    public static class ServiceType {
        /**
         * serviceType : 公益类型
         */

        @SerializedName("serviceType")
        private String serviceType;

        public String getServiceType() {
            return serviceType;
        }

        public void setServiceType(String serviceType) {
            this.serviceType = serviceType;
        }
    }
}
